package infoPackage;

public class River {
	
	private String name;
	private int id;
	
	public River(String name, int id){
		this.name = name;
		this.setId(id);
	}
	
	
//	public void printRiver(){
//		System.out.println("River " + name);		
//		if (sections.size() <= 0) 
//			System.out.println("	No sections.");
//		else{
//			System.out.println("	With " + nSections + " sections: ");
//			for(int i=0; i<sections.size(); i++){
//				//System.out.print("		"); S
//				sections.get(i).printSection();
//			}
//		}
//	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}


	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

}
